package com.springboot.demo.annotation;





import com.springboot.demo.enums.DataBaseKindEnum;
import com.springboot.demo.enums.DataSourceEnum;

import java.lang.annotation.*;

@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataSource {

    DataBaseKindEnum value() default DataBaseKindEnum.MASTER;
}